package com.ruoyi.finance.service.impl;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.finance.domain.DTO.KltDeliverRecordDTO;
import com.ruoyi.finance.domain.KltDeliverRecord;
import com.ruoyi.finance.domain.KltPurchaseBatch;
import com.ruoyi.finance.mapper.KltDeliverRecordDao;
import com.ruoyi.finance.mapper.KltPurchaseBatchDao;
import com.ruoyi.finance.service.KltDeliverRecordService;
import com.ruoyi.finance.domain.KltDeliverRecord;
import com.ruoyi.finance.mapper.KltDeliverRecordDao;
import com.ruoyi.finance.service.KltDeliverRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.PageRequest;

import javax.annotation.Resource;
import java.util.List;

/**
 * (KltDeliverRecord)表服务实现类
 *
 * @author makejava
 * @since 2025-02-08 11:33:59
 */
@Service("kltDeliverRecordService")
public class KltDeliverRecordServiceImpl extends ServiceImpl<KltDeliverRecordDao, KltDeliverRecord> implements KltDeliverRecordService {
    @Autowired
    private KltDeliverRecordDao kltDeliverRecordDao;

    /**
     * 通过ID查询单条数据
     *
     * @param kltDeliverRecord 主键
     * @return 实例对象
     */

    @Override
    public List<KltDeliverRecordDTO> queryDeliverAndStockById(KltDeliverRecord kltDeliverRecord) {
        return this.kltDeliverRecordDao.queryDeliverAndStockById(kltDeliverRecord);
    }


}
